package won.user;

public abstract class AbstractUser implements UserInterface {
        protected long id;
        protected String username;
        protected String password;

        public AbstractUser(){

        }

        public AbstractUser(long id, String username, String password){
        this.id=id;
        this.username=username;
        this.password=password;
        }

        @Override
        public long getId() {
            return id;
        }

        @Override
        public void setId(long id) {
            this.id = id;
        }

        @Override
        public String getUsername() {
            return username;
        }

        @Override
        public void setUsername(String username) {
            this.username = username;
        }

        @Override
        public String getPassword() {
            return password;
        }

        @Override
        public void setPassword(String password) {
            this.password = password;
        }


}
